package com.jacobson.huobi.di.modules

import com.jacobson.core.di.annotation.ActivityScope
import com.jacobson.huobi.mvp.contract.EditPasswordContract
import com.jacobson.huobi.mvp.contract.EditSoftwareContract
import com.jacobson.huobi.mvp.contract.KycAuthContract
import com.jacobson.huobi.mvp.model.EditPasswordModel
import com.jacobson.huobi.mvp.model.EditSoftwareModel
import com.jacobson.huobi.mvp.model.KycAuthModel
import com.jacobson.huobi.mvp.presenter.EditPasswordPresenter
import com.jacobson.huobi.mvp.presenter.EditSoftwarePresenter
import com.jacobson.huobi.mvp.presenter.KycAuthPresenter
import dagger.Module
import dagger.Provides

@Module
class EditSoftwareActivityModule(
    private val view: EditSoftwareContract.View
) {
    @Provides
    @ActivityScope
    fun provideView() = view

    @Provides
    @ActivityScope
    fun providePresenter(presenter: EditSoftwarePresenter): EditSoftwareContract.Presenter = presenter

    @Provides
    @ActivityScope
    fun provideModel(model: EditSoftwareModel): EditSoftwareContract.Model = model

}